home *** CD-ROM | disk | FTP | other *** search
- This file contains information on the following topics:
- Installing NetWare 386 Including the C library (CLIB.NLM)
- Setting the Time Zone
-
-
- INSTALLING NETWARE 386 INCLUDING THE C LIBRARY
-
-
- The NLMs in this directory are:
- CLIB.NLM
- MATHLIB.NLM
- MATHLIBC.NLM
- STREAMDU.NLM
-
- You will normally want to load CLIB.NLM and STREAMDU.NLM
- (or STREAMS.NLM) from the AUTOEXEC.NCF file.
-
- Streams (STREAMS.NLM or STREAMDU.NLM) must be loaded prior to loading
- CLIB.NLM.
-
- Example:
- LOAD STREAMS
- LOAD CLIB
-
- STREAMDU.NLM is used if the NLMs being run do NOT use Streams, in order
- to save memory, approximately 40K, on the file server.
-
- Example:
- LOAD STREAMDU
- LOAD CLIB
-
- MATHLIB.NLM and MATHLIBC.NLM are only needed by NLMs that use floating
- point math.
-
- - If MATHLIB.NLM or MATHLIBC.NLM is NOT loaded, and an NLM attempts
- to use them, the NLM will be aborted and an error will be returned.
-
- "NLM requires MATHLIB or MATHLIBC"
-
- OR
-
- "NLM requires MATHLIB (not MATHLIBC)"
-
- OR
-
- "Loader cannot find public symbol: xxx"
- where xxx is the call that is being made (ie. asin, atan, etc.)
-
- - If MATHLIBC.NLM is loaded, there may be some NLMs that won't work.
- If an NLM written to use ONLY MATHLIB.NLM is loaded, the NLM will
- be aborted and the message
-
- "NLM requires MATHLIB (not MATHLIBC)"
-
- will be printed.
-
- MATHLIB.NLM should be used if an 80387 is installed.
-
- Note: MATHLIBC.NLM is faster than MATHLIB.NLM for NLMs that run on
- a server that does NOT have an 80387 and that were written
- for MATHLIBC.NLM. Therefore, you should TRY to use MATHLIBC.NLM if
- an 80387 is NOT installed.
-
-
- SETTING THE TIME ZONE
- The TZ environment variable is used to establish the local time
- zone. The value of the variable is used by various time functions
- to compute times relative to Greenwich Mean Time.
-
- The "tzset" function can be used to set the global variables
- "daylight" (indicates if daylight saving time is in effect),
- "timezone" (contains the number of seconds of time difference
- between the local time zone and Greenwich Mean Time), and
- "tzname" (a vector of two pointers to character strings containing
- the standard and daylight timezone names).
-
- The value of the TZ parameter should be set as follows:
-
- - three letters to be the abbreviation for the name of the time
- zone (EST, CST, MST, PST, etc.)
-
- - a signed integer to be the number of hours that the time zone
- is earlier than Greenwich Mean Time (EST = 5, CST = 6, MST = 7,
- PST = 8, etc.)
-
- - three letters to be the abbreviation for the name of the time zone
- when daylight savings time is in effect (EDT, CDT, MDT, PDT, etc.)
-
- When the name of the time zone for daylight saving time is given, it
- is assumed that daylight saving time is in effect; otherwise, standard
- time is assumed. Some examples are:
-
- TZ=EST5 Eastern Standard Time, 5 hours earlier than Greenwich Mean
- Time, standard time is in effect (this is the default when
- the TZ variable is not set)
-
- TZ=PST8PDT Pacific Standard Time, 8 hours earlier than Greenwich Mean
- Time, daylight saving time is in effect
-
- The syntax to use when loading the CLIB.NLM is:
-
- LOAD CLIB TZ = <timezone abbreviation><hours>[<daylight saving time
- abbreviation>]